package com.nuc.seckill.base;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 消息队列请求
 *
 * @author 石一歌
 * @date 2022-08-23 23:12
 */
@Data
public class SendMsgReq implements Serializable {


    @Data
    @Accessors(chain = true)
    public static class DelCacheReq implements Serializable {
        private Long productId;
    }

    @Data
    @Accessors(chain = true)
    public static class OrderReq implements Serializable {
        private Long productId;
        private Long userId;
    }

}
